package cn.telling.tianlianApple.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import cn.telling.tianlianApple.vo.AreaFreightRulesVo;
import cn.telling.tianlianApple.vo.TmAppleShop;



/**
 * 
 * @ClassName: AreaFreightRulesMapper 
 * @Description: 店铺区域运费规则
 * @author wxl
 * @date 2015年9月16日 下午15:21
 *
 */
@Repository("appleAreaFreightRulesMapper")
public interface AreaFreightRulesMapper {
	/**
	 * 根据店铺id以及运费规则状态查询地区信息
	 * @author wxl
	 * @date:2015-09-24
	 * @param params
	 * @return
	 */
	 List<AreaFreightRulesVo> selectAreaFreightRulesByFreightid(Map<String, Object> params);
	 
	 
	 /**
	  * 根据店铺id删除运费规则
	  * @date:2015-09-17
	  * @author wxl
	  * @param vo
	  */
	void deleteAreaFreightRules(TmAppleShop vo);
	/**
	 * 店铺区域运费规则插入数据
	 * @param areals
	 */
	void insertAreaFreightRules(Map<String, Object> params);
}
